package com.bee.beeAuth.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.bee.beeAuth.entity.SysMenu;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 菜单表 Mapper 接口
 * </p>
 *
 * @author 陈国松
 * @since 2022-10-27
 */
@Mapper
public interface SysMenuMapper extends BaseMapper<SysMenu> {
    
        /**
     * 根据用户id获取用户的所有菜单
     * @param userId
     * @return
     */
    List<SysMenu>  selectListByUserId(@Param("userId") String userId);
}
